package org.zhuxian.cn.service;

import org.zhuxian.cn.entity.User;
import org.zhuxian.cn.entity.VO.UserVO;

import java.util.List;

public interface UserService {

    boolean registerUser(User user);

    boolean validateUser(String username, String password);

    UserVO getUserByUsername(String username);

    // 新增用户删改查接口
    boolean deleteUser(Long id);

    boolean updateUser(User user);

    UserVO getUserById(Long id);

    List<UserVO> getAllUsers();
}
